package com.arpa.wms.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 仓库货主绑定关系
 * </p>
 *
 * @author LEO
 * @since 2020-08-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="WarehouseShipment对象", description="仓库货主绑定关系")
@TableName("wms_warehouse_shipment")
public class WarehouseShipment extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据标识")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "所属机构")
    @TableField("group_code")
    private String groupCode;

    @ApiModelProperty(value = "仓库CODE")
    @TableField("warehouse_code")
    private String warehouseCode;

    @ApiModelProperty(value = "货主code")
    @TableField("shipment_code")
    private String shipmentCode;

    @ApiModelProperty(value = "使用OMS：0不使用， 1使用")
    @TableField("is_use_oms")
    private Integer useOms;

}
